<div class="forumtable-wrapper">
	<h3 class="caption"><?=$swixs->make_internal_link($parent->title, 'forum', array('id' => $parent->id));?></h3>
	<table width="100%" border="0" cellpadding="0" cellspacing="0" class="forumtable" style="margin-top: 5px;">
		<? foreach($forums as $forum): ?>
		<tr class="forumtable-row">
			<td width="7%" class="forumtable-col-icon">
				<div align="center">
					<?//=$forum_icon;?><img src="<?=$vars->baseuri;?>assets/icons/asterisk_orange.png" alt="" />
				</div>
			</td>
			<td colspan="2" width="54%" class="forumtable-col1">
				<span class="forumtitle">
				<? if($forum->link == NULL): ?>
				<?=$swixs->make_internal_link($forum->title, 'forum', array('id' => $forum->id))?>
				<? else: ?>
				<?=$swixs->make_link($forum->title, $forum->link);?>
				<? endif; ?>
				</span>
				<br />
				<span class="forumdesc"><?=$forum->description;?></span>
			</td>
			<td width="10%" class="forumtable-col2">
				<p>
				<? if($forum->topic_count > 0): ?>
				<b><?=number_format($forum->topic_count);?></b> <?=$l_topics;?>
				<? else: ?>
				--
				<? endif; ?>
				</p>
				<? if($forum->post_count > 0): ?>
				<b><?=number_format($forum->post_count);?></b> <?=$l_posts;?>
				<? else: ?>
				--
				<? endif; ?>
			</td>
			<td colspan="3" width="24%" class="forumtable-col3">
				September 6, 2007, 5:18 pm<br />
				In: <a href="http://localhost/sapulce/showtopic/34" style="font-size: 10px;">We need a re-designed homepage</a><br />
				By: <a href="http://localhost/sapulce/members/1" style="font-size: 10px;"><span style="color: #bc2a4d; font-weight: bold">N0valyfe</span></a>
			</td>
		</tr>
		<? endforeach; ?>
	</table>
</div>